home *** CD-ROM | disk | FTP | other *** search
/ New Perspectives on Computer Concepts / New Perspectives on Computer Concepts.iso / np2010c / page768.pag < prev    next >
Portable Network Graphic  |  2008-10-02  |  131KB  |  817x1045  |  8-bit (256 colors)
Labels: book | crt screen | hakham | monitor | reckoner | sky | window
OCR: 700 SECTION CHAPTER 1.2 How do luse control structures to write program? To write the FIGURE 12-29 code for the pizza program, you use the control structures, keywords, and Each line of code for the pizza syntax provided by your programming language The completed pizza pro- program consists of keywords gram. written in BASIC is provided in Figure 12-29 (shown in blue) and parameters Rem The Pizza Program Lines that begin with Rem This program tells you which of two pizzas is the best deal Rem contain remarks Rem by calcula ting the price per square inch each pizza that explain each Rem Col lect initial informa ion for first pi 775 section of the program Input "Enter the shape of pizza Shapei$ The execute computer the remarks does not Input "Enter the price Pr ce Input 'Enter the size Sizel ...